﻿
using Dora.Orm.Core.Domain.Entities;
using Dora.Services.AdminUser.Dto.QueryDto;
using Dora.Services.AdminUser.Dto.ViewDto;
using Dora.Services.AdminUser.Entities;
using Dora.Tools.Utility.Const;
using Surging.Core.Common;
using Surging.Core.CPlatform.Ioc;
using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Dora.Services.AdminUser.IApplication
{
    /// <summary>
    /// sms发送记录表服务接口
    /// </summary>
    [ServiceBundle("api/" + DoraModuleName.AdminUser + "/{Service}")]
    public interface ISmsRecordService : IServiceKey
    {
        /// <summary>
        /// 分页获取数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        [Service(Date = "2019-08-17", Director = "TTTan", Name = "分页获取数据")]
        Task<PageDataList<SmsRecordViewDto>> GetPageList(SmsRecordQueryDto input);

        /// <summary>
        /// 分页获取组织机构统计短信发送数量数据
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        [Service(Date = "2019-08-17", Director = "TTTan", Name = "分页获取组织机构统计短信发送数量数据")]
        Task<PageDataList<SmsRecordOrgStaticsViewDto>> GetOrgStaticsPageList(SmsRecordOrgStaticsQueryDto input);
    }
}
